package com.atguigu.gulimail.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author fangy
 * @date 2022-09-25 18:45
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catalog2Vo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String catalog1Id;  //1级父分类id
    private List<catalog3Vo> catalog3List; //三级子分类
    private String id;
    private String name;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class catalog3Vo implements Serializable{

        private String catalog2Id;  //父分类 ，2级分类id
        private String id;
        private String name;
    }

}
